package com.kkshop.gwt.i18n;

import com.google.gwt.core.client.GWT;
import com.google.gwt.i18n.client.Messages;

public interface ApplicationResources extends Messages {
    
    String loginUsername();
    String loginPassword();
    String loginRememberMe();
    String loginSubmit();
    
    String registerWizardHeader();
    String registerDisclaimerHeader();
    String registerDisclaimerText();
    String registerAccountTypeHeader();
    String registerAccountInformationHeader();

    public static class ApplicationResourcesHelper {
        
        private static ApplicationResourcesHelper instance;
        
        public static ApplicationResourcesHelper getInstance() {
            if(instance == null) {
                instance = new ApplicationResourcesHelper();
            }
            return instance;
        }
        
        public ApplicationResources getResources() {
            return (ApplicationResources) GWT.create(ApplicationResources.class);
        }
    }
}
